package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_brand_active
 * @author 
 */
@Data
@ApiModel("")
public class CencesBrandActive implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * vivo
     */
    @ApiModelProperty("vivo")
    private Integer vivo;

    /**
     * oppo
     */
    @ApiModelProperty("oppo")
    private Integer oppo;

    /**
     * huawei
     */
    @ApiModelProperty("huawei")
    private Integer huawei;

    /**
     * xiaomi
     */
    @ApiModelProperty("xiaomi")
    private Integer xiaomi;

    /**
     * meizu
     */
    @ApiModelProperty("meizu")
    private Integer meizu;

    /**
     * 360
     */
    @ApiModelProperty("360")
    private Integer sll;

    /**
     * yingyongbao
     */
    @ApiModelProperty("yingyongbao")
    private Integer yyb;

    /**
     * xiaozhuo
     */
    @ApiModelProperty("xiaozhuo")
    private Integer xiaozhuo;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;


    public CencesBrandActive() {
    }

    public CencesBrandActive(Integer time, Integer initNum,Integer appId) {
        this.createTime = LocalDate.now();
        this.time = time;
        this.vivo = initNum;
        this.oppo = initNum;
        this.huawei = initNum;
        this.xiaomi = initNum;
        this.meizu = initNum;
        this.sll = initNum;
        this.yyb = initNum;
        this.xiaozhuo = initNum;
        this.appId=appId;
    }

    private static final long serialVersionUID = 1L;
}